const mysql = require('mysql')

const db = mysql.createPool({
  host:'127.0.0.1',
  user:'root',
  password:'admin123',
  database:`my_db_visabledata`,
})

//向外共享db数据库链接对象
module.exports = db